$(document).ready(function() {
	var sendMessage = function(text) {
		//$.post('/ajax/add-comment');
		console.log(text);
	}

	$('#send_button').live('click', function() {
		var messageText = $('#message').val();
		sendMessage(messageText);
	})
})